{* 再入力or物件一覧から遷移の場合 *}
{if $request.reRequest == "1"}
	<div id="conditionData">
		<!-- selectDetailBlock06 -->
		<div class="selectDetailBlock06">
			<div class="section">
				<p class="title">検索条件</p>
			</div>
			<!-- innerBlock01 -->
			<div class="innerBlock01" style="display:block;">
				<!-- innerBlock02 -->
				<div class="innerBlock02">
					<table>
						<tbody><tr>
							<th>地域・沿線</th>
							<td>{$condition1}</td>
						</tr>
						<tr>
							<th>基本条件</th>
							<td>{$condition2}</td>
						</tr>
						<tr>
							<th>こだわり条件</th>
							<td>{$condition3}</td>
						</tr>
					</tbody></table>
				</div>
				<!-- /innerBlock02 -->
			</div>
			<!-- /innerBlock01 -->
		</div>
		<!-- /selectDetailBlock06 -->
	</div>
{/if}

{if $no_request == '1'}
	{* フォーム指定しない *}
{elseif $search_kbn == "19"}
<form method="post" name="frm_cond" action="{$apm.ssl.baseurl}inquiry/requestentry">
{elseif $search_kbn == "21"}
<form method="post" name="frm_cond" action="{$apm.ssl.baseurl}inquiry/asrequestentry">
{/if}
	<!-- selectCondition -->
	<div id="selectCondition" class="selectDetailBlock09">
		<!-- innerBlock01 -->
		<div class="innerBlock01">
			<!-- innerBlock02 -->
			<div class="innerBlock02">
				<table>
					{if $campaign|@count > 0 }
						<tr class="campaign">
							<th class="first">キャンペーン・特集</th>
							<td colspan="2" class="first">
					{/if}
						{foreach from=$campaign.1.CAMPAIGN_DATA item=camp name=campaignLoop}
							{if $smarty.foreach.campaignLoop.first }
								<div class="titleBlock02">
									<p class="title01">キャンペーン</p>
								</div>
							{/if}
							{if $smarty.foreach.campaignLoop.iteration % 2 == 1}<ul>{/if}
								<li>
									<label><input name="campaign[]" type="checkbox"
										id="campaign[{$smarty.foreach.campaignLoop.index}]" value="{$camp.M94_CAMPAIGN_CD}" {$camp.CAMPAIGN_CHECKED}/>
									{$camp.M94_CAMPAIGN_RYAKUSHOU}</label>
								</li>
							{if $smarty.foreach.campaignLoop.iteration % 2 == 0 || $smarty.foreach.campaignLoop.last }</ul>{/if}
							{if $smarty.foreach.campaignLoop.last}<div style="clear:both;"></div>{/if}
						{/foreach}
						{foreach from=$campaign.2.CAMPAIGN_DATA item=tokusyu name=tokusyuLoop}
							{if $smarty.foreach.tokusyuLoop.first }
								<div class="titleBlock02">
									<p class="title01">特集</p>
								</div>
							{/if}
							{if $smarty.foreach.tokusyuLoop.iteration % 2 == 1}<ul>{/if}
								<li>
									<label><input name="campaign[]" type="checkbox"
										id="tokusyu[{$smarty.foreach.tokusyuLoop.index}]" value="{$tokusyu.M94_CAMPAIGN_CD}" {$tokusyu.CAMPAIGN_CHECKED}/>
									{$tokusyu.M94_CAMPAIGN_RYAKUSHOU}</label>
								</li>
							{if $smarty.foreach.tokusyuLoop.iteration % 2 == 0 || $smarty.foreach.tokusyuLoop.last }</ul>{/if}
							{if $smarty.foreach.tokusyuLoop.last}{/if}
						{/foreach}
					{if $campaign|@count > 0 }
							</td>
						</tr>
					{/if}
{* キャンペーン・特集 対応
					{foreach from=$campaign item=campaign name=campaignLoop}
					{if $smarty.foreach.campaignLoop.first }
						<tr class="campaign">
							<th class="first">キャンペーン</th>
							<td colspan="2" class="first">
					{/if}
					{if $smarty.foreach.campaignLoop.iteration % 2 == 1}<ul>{/if}
								<li>
									<label><input name="campaign[{$smarty.foreach.campaignLoop.index}]" type="checkbox"
										id="campaign[{$smarty.foreach.campaignLoop.index}]" value="{$campaign.M94_CAMPAIGN_CD}" {$campaign.CAMPAIGN_CHECKED}/>
									{$campaign.M94_CAMPAIGN_RYAKUSHOU}</label>
								</li>
					{if $smarty.foreach.campaignLoop.iteration % 2 == 0 || $smarty.foreach.campaignLoop.last }</ul>{/if}
					{if $smarty.foreach.campaignLoop.last }</td></tr>{/if}
					{/foreach}
*}
{if $request.ComId == ''}{* 法人サイト非表示 *}
					<tr class="cost"> <!-- style="display: none;" -->
						<th>初期費用</th>
						<td colspan="2" class="eval"><ul>
{* 2011/05/21 初期費用「5万」「10万」のみにする *}
{* 2011/06/14 初期費用「ダブルゼロ」を追加 *}
{*
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo99" value="99" {$basic.syokihiyo99} />0円</label></li>
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo3" value="3" {$basic.syokihiyo3} />～3万円</label></li>
*}
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo5" value="5" {$basic.syokihiyo5} />～5万円</label></li>
{*
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo7" value="7" {$basic.syokihiyo7} />～7万円</label></li>
*}
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo10" value="10" {$basic.syokihiyo10} />～10万円</label></li>
							<li><label><input name="syokihiyo" type="radio" id="syokihiyow0" value="w0" {$basic.shikireizero} />ダブルゼロ</label></li>
							<li><label><input name="syokihiyo" type="radio" id="syokihiyo0" value="0" {$basic.syokihiyo0} />指定なし</label></li>
						</ul></td>
					</tr>
{/if}{* 法人サイト非表示 *}
					<tr class="rent">
						<th class="off">賃料</th>
						<td colspan="2" class="off"><ul>
								<li>
									<select name="tinryo1" id="tinryo1">
										<option value="0" {$basic.tinryo1_min}>下限なし</option>
										<option value="20000" {$basic.tinryo1_20k}>2万</option>
										<option value="25000" {$basic.tinryo1_25k}>2.5万</option>
										<option value="30000" {$basic.tinryo1_30k}>3万</option>
										<option value="35000" {$basic.tinryo1_35k}>3.5万</option>
										<option value="40000" {$basic.tinryo1_40k}>4万</option>
										<option value="45000" {$basic.tinryo1_45k}>4.5万</option>
										<option value="50000" {$basic.tinryo1_50k}>5万</option>
										<option value="55000" {$basic.tinryo1_55k}>5.5万</option>
										<option value="60000" {$basic.tinryo1_60k}>6万</option>
										<option value="65000" {$basic.tinryo1_65k}>6.5万</option>
										<option value="70000" {$basic.tinryo1_70k}>7万</option>
										<option value="75000" {$basic.tinryo1_75k}>7.5万</option>
										<option value="80000" {$basic.tinryo1_80k}>8万</option>
										<option value="85000" {$basic.tinryo1_85k}>8.5万</option>
										<option value="90000" {$basic.tinryo1_90k}>9万</option>
										<option value="95000" {$basic.tinryo1_95k}>9.5万</option>
										<option value="100000" {$basic.tinryo1_100k}>10万</option>
										<option value="110000" {$basic.tinryo1_110k}>11万</option>
										<option value="120000" {$basic.tinryo1_120k}>12万</option>
										<option value="130000" {$basic.tinryo1_130k}>13万</option>
										<option value="140000" {$basic.tinryo1_140k}>14万</option>
										<option value="150000" {$basic.tinryo1_150k}>15万</option>
										<option value="200000" {$basic.tinryo1_200k}>20万</option>
										<option value="300000" {$basic.tinryo1_300k}>30万</option>
										<option value="500000" {$basic.tinryo1_500k}>50万</option>
										<option value="1000000" {$basic.tinryo1_1m}>100万</option>
									</select>
									円 ～
									<select name="tinryo2" id="tinryo2">
										<option value="20000" {$basic.tinryo2_20k}>2万</option>
										<option value="25000" {$basic.tinryo2_25k}>2.5万</option>
										<option value="30000" {$basic.tinryo2_30k}>3万</option>
										<option value="35000" {$basic.tinryo2_35k}>3.5万</option>
										<option value="40000" {$basic.tinryo2_40k}>4万</option>
										<option value="45000" {$basic.tinryo2_45k}>4.5万</option>
										<option value="50000" {$basic.tinryo2_50k}>5万</option>
										<option value="55000" {$basic.tinryo2_55k}>5.5万</option>
										<option value="60000" {$basic.tinryo2_60k}>6万</option>
										<option value="65000" {$basic.tinryo2_65k}>6.5万</option>
										<option value="70000" {$basic.tinryo2_70k}>7万</option>
										<option value="75000" {$basic.tinryo2_75k}>7.5万</option>
										<option value="80000" {$basic.tinryo2_80k}>8万</option>
										<option value="85000" {$basic.tinryo2_85k}>8.5万</option>
										<option value="90000" {$basic.tinryo2_90k}>9万</option>
										<option value="95000" {$basic.tinryo2_95k}>9.5万</option>
										<option value="100000" {$basic.tinryo2_100k}>10万</option>
										<option value="110000" {$basic.tinryo2_110k}>11万</option>
										<option value="120000" {$basic.tinryo2_120k}>12万</option>
										<option value="130000" {$basic.tinryo2_130k}>13万</option>
										<option value="140000" {$basic.tinryo2_140k}>14万</option>
										<option value="150000" {$basic.tinryo2_150k}>15万</option>
										<option value="200000" {$basic.tinryo2_200k}>20万</option>
										<option value="300000" {$basic.tinryo2_300k}>30万</option>
										<option value="500000" {$basic.tinryo2_500k}>50万</option>
										<option value="1000000" {$basic.tinryo2_1m}>100万</option>
										<option value="9999999" {$basic.tinryo2_max}>上限なし</option>
									</select>
									円</li>
							<li><label><input name="meyasu_tinryo" type="radio" id="tinryo_normal" value="normal" {$basic.normal_tinryo} />賃料</label></li>
{if $request.ComId == ''}{* 法人サイト非表示 *}
							<li><label><input name="meyasu_tinryo" type="radio" id="tinryo_meyasu" value="meyasu" {$basic.meyasu_tinryo} />めやす賃料</label></li>
{/if}{* 法人サイト非表示 *}
						</ul>
						<ul>
							<li><label><input name="tinryo_jouken2" type="checkbox" id="tinryo_jouken2" {$basic.tinryo_jouken2Checked} />管理費・共益費込み</label></li>
							<li><label><input name="tyusyajyo_komi" type="checkbox" id="tyusyajyo_komi" {$basic.tyusyajyokomiChecked} />駐車場代込み</label></li>
						{* 法人サイトのみ表示 *}
						{*if $request.ComId != ''}
							<li><label><input name="shataku_koujyo" type="checkbox" id="shataku_koujyo" value="on" {$basic.shatakukoujyuChecked} />仲介手数料 {$shatakuKoujyoritsu}ヶ月分以下</label></li>
						{/if*}
						</ul></td>
					</tr>
					<tr class="service">
						<th>割引サービス</th>
						<td colspan="2"><ul>
							<li><label><input name="shikikin_nashi" type="checkbox" id="shikikin_nashi" {$basic.shikikin_nashiChecked} />敷金ゼロ</label></li>
							<li><label><input name="reikin_nashi" type="checkbox" id="reikin_nashi" {$basic.reikin_nashiChecked} />礼金ゼロ</label></li>
							<li><label><input name="freerent" type="checkbox" id="freerent" {$basic.freerentChecked} />フリーレント</label></li>
{if $request.ComId == ''}{* 法人サイト非表示 *}
							<li><label><input name="heyawari" type="checkbox" id="heyawari" {$basic.heyawariChecked} />部屋割</label></li>
{/if}{* 法人サイト非表示 *}
						</ul></td>
					</tr>
					<tr class="layout">
						<th>間取り</th>
						<td colspan="2" class="eval"><ul>
							<li><label><input name="madori10" type="checkbox" id="madori10" {$basic.madori10Checked} />ワンルーム</label></li>
							<li><label><input name="madori11" type="checkbox" id="madori11" {$basic.madori11Checked} />1K</label></li>
							<li><label><input name="madori12" type="checkbox" id="madori12" {$basic.madori12Checked} />1DK(+S)</label></li>
							<li><label><input name="madori14" type="checkbox" id="madori14" {$basic.madori14Checked} />1LDK(+S)</label></li>
							<li><label><input name="madori21" type="checkbox" id="madori21" {$basic.madori21Checked} />2K</label></li>
							<li><label><input name="madori22" type="checkbox" id="madori22" {$basic.madori22Checked} />2DK(+S)</label></li>
							<li><label><input name="madori24" type="checkbox" id="madori24" {$basic.madori24Checked} />2LDK(+S)</label></li>
							<li><label><input name="madori31" type="checkbox" id="madori31" {$basic.madori31Checked} />3K</label></li>
							<li><label><input name="madori32" type="checkbox" id="madori32" {$basic.madori32Checked} />3DK(+S)</label></li>
							<li><label><input name="madori34" type="checkbox" id="madori34" {$basic.madori34Checked} />3LDK(+S)</label></li>
							<li><label><input name="madori41" type="checkbox" id="madori41" {$basic.madori41Checked} />4K</label></li>
							<li><label><input name="madori42" type="checkbox" id="madori42" {$basic.madori42Checked} />4DK(+S)</label></li>
							<li><label><input name="madori44" type="checkbox" id="madori44" {$basic.madori44Checked} />4LDK(+S)</label></li>
							<li><label><input name="madori51" type="checkbox" id="madori51" {$basic.madori51Checked} />5K以上</label></li>
						</ul></td>
					</tr>
					<tr class="area">
						<th>専有面積</th>
						<td colspan="2">
							<select name="senyu1" id="senyu1">
								<option value="1" {$basic.senyu1_min}>下限なし</option>
								<option value="15" {$basic.senyu1_15}>15</option>
								<option value="20" {$basic.senyu1_20}>20</option>
								<option value="25" {$basic.senyu1_25}>25</option>
								<option value="30" {$basic.senyu1_30}>30</option>
								<option value="35" {$basic.senyu1_35}>35</option>
								<option value="40" {$basic.senyu1_40}>40</option>
								<option value="45" {$basic.senyu1_45}>45</option>
								<option value="50" {$basic.senyu1_50}>50</option>
								<option value="60" {$basic.senyu1_60}>60</option>
								<option value="70" {$basic.senyu1_70}>70</option>
								<option value="80" {$basic.senyu1_80}>80</option>
								<option value="90" {$basic.senyu1_90}>90</option>
								<option value="100" {$basic.senyu1_100}>100</option>
						</select>
							m<sup>2</sup> ～
							<select name="senyu2" id="senyu2">
								<option value="15" {$basic.senyu2_15}>15</option>
								<option value="20" {$basic.senyu2_20}>20</option>
								<option value="25" {$basic.senyu2_25}>25</option>
								<option value="30" {$basic.senyu2_30}>30</option>
								<option value="35" {$basic.senyu2_35}>35</option>
								<option value="40" {$basic.senyu2_40}>40</option>
								<option value="45" {$basic.senyu2_45}>45</option>
								<option value="50" {$basic.senyu2_50}>50</option>
								<option value="60" {$basic.senyu2_60}>60</option>
								<option value="70" {$basic.senyu2_70}>70</option>
								<option value="80" {$basic.senyu2_80}>80</option>
								<option value="90" {$basic.senyu2_90}>90</option>
								<option value="100" {$basic.senyu2_100}>100</option>
								<option value="99999" {$basic.senyu2_max}>上限なし</option>
							</select>
							m<sup>2</sup></td>
					</tr>
					<tr class="type">
						<th>建物種別</th>
						<td colspan="2" class="eval"><ul>
							<li><label><input name="syubetu1" type="checkbox" id="syubetu1" {$basic.syubetu1Checked} />賃貸アパート</label></li>
							<li><label><input name="syubetu2" type="checkbox" id="syubetu2" {$basic.syubetu2Checked} />賃貸マンション</label></li>
{* 2011/03/03 文言修正
							<li><label><input name="syubetu3" type="checkbox" id="syubetu3" {$basic.syubetu3Checked} />賃貸一戸建て・借家・テラスハウス</label></li>
*}
							<li><label><input name="syubetu3" type="checkbox" id="syubetu3" {$basic.syubetu3Checked} />戸建て・テラスハウス</label></li>
							<li><label><input name="syubetu4" type="checkbox" id="syubetu4" {$basic.syubetu4Checked} />貸店舗・賃貸事務所</label></li>
							<li><label><input name="syubetu5" type="checkbox" id="syubetu5" {$basic.syubetu5Checked} />駐車場</label></li>
						</ul></td>
					</tr>
					<tr class="station">
						<th>駅徒歩</th>
						<td colspan="2"><ul>
							<li><label><input type="radio" name="ekitoho" id="ekitoho1" value="1" {$basic.ekitoho1Checked} />1分以内</label></li>
							<li><label><input type="radio" name="ekitoho" id="ekitoho5" value="5" {$basic.ekitoho5Checked} />5分以内</label></li>
							<li><label><input type="radio" name="ekitoho" id="ekitoho7" value="7" {$basic.ekitoho7Checked} />7分以内</label></li>
							<li><label><input type="radio" name="ekitoho" id="ekitoho10" value="10" {$basic.ekitoho10Checked} />10分以内</label></li>
							<li><label><input type="radio" name="ekitoho" id="ekitoho15" value="15" {$basic.ekitoho15Checked} />15分以内</label></li>
							<li><label><input type="radio" name="ekitoho" id="ekitoho0" value="0" {$basic.ekitoho0Checked} />指定なし</label></li>
							<li class="last"><label><input name="bas_riyou" type="checkbox" id="bas_riyou" {$basic.bas_riyouChecked} />バス利用可</label></li>
						</ul></td>
					</tr>
					<tr class="build_age">
						<th>築年数</th>
						<td colspan="2" class="eval"><ul>
							<li><label><input type="radio" name="built" id="built1" value="1" {$basic.built1Checked} />新築</label></li>
							<li><label><input type="radio" name="built" id="built3" value="3" {$basic.built3Checked} />3年以内</label></li>
							<li><label><input type="radio" name="built" id="built5" value="5" {$basic.built5Checked} />5年以内</label></li>
							<li><label><input type="radio" name="built" id="built10" value="10" {$basic.built10Checked} />10年以内</label></li>
							<li><label><input type="radio" name="built" id="built0" value="0" {$basic.built0Checked} />指定なし</label></li>
						</ul></td>
					</tr>
					<tr class="new">
						<th>情報の新しさ</th>
						<td colspan="2"><ul>
							<li><label><input type="radio" name="jyohou" id="jyohou1" value="1" {$basic.jyohou1Checked} />本日更新</label></li>
							<li><label><input type="radio" name="jyohou" id="jyohou3" value="3" {$basic.jyohou3Checked} />3日以内更新</label></li>
							<li><label><input type="radio" name="jyohou" id="jyohou7" value="7" {$basic.jyohou7Checked} />1週間以内更新</label></li>
							<li><label><input type="radio" name="jyohou" id="jyohou0" value="0" {$basic.jyohou0Checked} />指定なし</label></li>
						</ul></td>
					</tr>
					<tr class="photo">
						<th>画像</th>
						<td colspan="2" class="eval"><ul>
							<li><label><input type="checkbox" name="kodawari1" id="kodawari1" {$basic.kodawari1Checked} />内装写真あり</label></li>
							<li><label><input type="checkbox" name="kodawari2" id="kodawari2" {$basic.kodawari2Checked} />パノラマ画像あり</label></li>
						</ul></td>
					</tr>
					{assign var="cnt" value=$kodawari_joken|@count}
					{foreach from=$kodawari_joken item=v name="kodawariLoop"}
					<tr class="condition">
						{if $smarty.foreach.kodawariLoop.iteration == 1}
							<th rowspan="{$cnt}" class="last">こだわり条件</th>
						{/if}
						{if $smarty.foreach.kodawariLoop.iteration < $cnt}
							<th class="ob">{$v.KODAWARI_TYPE}</th><td><ul>
						{else}
							<th class="ob last">{$v.KODAWARI_TYPE}</th><td class="last"><ul>
						{/if}
							{foreach from=$v.KODAWARI_DATA item=list}
								<li><label><input type="checkbox" name="{$list.KODAWARI_ID}" id="{$list.KODAWARI_ID}" {$list.KODAWARI_CHECKED}>{$list.KODAWARI_NAME}</label></li>
							{/foreach}
						</ul></td>
					</tr>
					{/foreach}
				</table>
			</div>
			<!-- /innerBlock02 -->
		</div>
		<!-- /innerBlock01 -->
	</div>
	<!-- /selectCondition -->

{if $no_request != '1'}
	<!-- searchBtnBlock -->
	<div id="searchBtnBlock">
		<p>
			<a href="javascript:MoveKekkaObi(0)"><img src="/images/search/common/btn_request_condition.jpg" alt="この条件でリクエスト" ></a>
		</p>
	</div>
	<!-- /searchBtnBlock -->

<div id="hiddenval">
{$ReqHiddenTag}
</div>
</form>
{/if}
